<!-- BEGIN block -->
	<!-- IF !{block.DISABLED} -->
		<!-- IF {block.TYPE} == 'fieldset' --><fieldset><legend>&nbsp;%lang({block.LEGEND})&nbsp;</legend><!-- IF {block.EXPLAIN} -->%lang({block.EXPLAIN})<br /><!-- ENDIF -->
		<!-- ELSE --><div><!-- IF {block.LEGEND} --><strong>&nbsp;%lang({block.LEGEND})&nbsp;</strong><br /><!-- ENDIF --><!-- IF {block.EXPLAIN} -->%lang({block.EXPLAIN})<br /><!-- ENDIF --><!-- ENDIF -->
	<!-- ENDIF -->

	<!-- BEGIN block.line -->
		<!-- IF isset({block.line.group}) -->
		<dl><dt class="tab"<!-- IF {block.line.LEGEND_ALIGN} --> style="text-align: {block.line.LEGEND_ALIGN};"<!-- ENDIF -->>
			<!-- IF {block.line.LEGEND} --><label class="bold" for="{block.line.NAME}">%lang({block.line.LEGEND}):&nbsp;</label><!-- ENDIF -->
			<!-- IF {block.line.EXPLAIN} --><!-- IF {block.line.LEGEND} --><br /><!-- ENDIF --><span class="small">%lang({block.line.EXPLAIN})&nbsp;</span><!-- ENDIF -->
		</dt><dd class="tab"<!-- IF !{block.line.IS_FIELD_ID} --> id="{block.line.NAME}"<!-- ENDIF -->>
		<!-- ENDIF -->

		<!-- BEGIN block.line.field -->
			<!-- IF !isset({block.line.group}) -->
			<dl><dt class="tab"<!-- IF !{block.line.field.LEGEND} && !{block.line.field.EXPLAIN} --> style="width: 0px"<!-- ELSE --><!-- IF {block.line.field.LEGEND_ALIGN} --> style="text-align: {block.line.field.LEGEND_ALIGN};"<!-- ENDIF --><!-- ENDIF -->>
				<!-- IF {block.line.field.LEGEND} --><label class="bold" for="{block.line.field.NAME}">%lang({block.line.field.LEGEND}):&nbsp;</label><!-- ENDIF -->
				<!-- IF {block.line.field.EXPLAIN} --><!-- IF {block.line.field.LEGEND} --><br /><!-- ENDIF --><span class="small">%lang({block.line.field.EXPLAIN})&nbsp;</span><!-- ENDIF -->
				<!-- IF !{block.line.field.LEGEND} && !{block.line.field.EXPLAIN} -->&nbsp;<!-- ENDIF -->
			</dt><dd class="tab"<!-- IF ({block.line.field.TYPE} == 'radio_list') || {block.line.field.OUTPUT} --> id="{block.line.field.NAME}"<!-- ENDIF --><!-- IF !{block.line.field.LEGEND} && !{block.line.field.EXPLAIN} && (!{block.line.field.VALUE_ALIGN} || ({block.line.field.VALUE_ALIGN} == 'center')) --> style="margin-left: 0px; text-align: center"<!-- ENDIF -->>
			<!-- ELSE -->
				<!-- IF {block.line.field.FLOATING} --><div style="float: left;<!-- IF {block.line.field.FLOATING_WIDTH} --> width: {block.line.field.FLOATING_WIDTH}px;<!-- ENDIF --> text-align: {block.line.field.FLOATING}"><!-- ENDIF -->
				<!-- IF {block.line.field.LINEFEED} --><br /><!-- ENDIF -->
				<!-- IF {block.line.field.SPACING} -->&nbsp;&nbsp;<!-- ENDIF -->
				<!-- IF {block.line.field.LEGEND} --><label class="bold" for="{block.line.field.NAME}">%lang({block.line.field.LEGEND}):&nbsp;</label><!-- ENDIF -->
			<!-- ENDIF -->

<!-- IF {block.line.field.OUTPUT} -->
	<!-- IF {block.line.field.TYPE} == 'varchar' -->{block.line.field.VALUE}<!-- ENDIF -->
	<!-- IF {block.line.field.TYPE} == 'text' -->{block.line.field.VALUE}<!-- ENDIF -->
	<!-- IF {block.line.field.TYPE} == 'int' -->{block.line.field.VALUE}<!-- ENDIF -->
	<!-- IF {block.line.field.TYPE} == 'list' -->{block.line.field.VALUE}<!-- ENDIF -->
	<!-- IF {block.line.field.TYPE} == 'radio_list' -->{block.line.field.VALUE}<!-- ENDIF -->
	<!-- IF {block.line.field.TYPE} == 'button' -->{block.line.field.VALUE}<!-- ENDIF -->
	<!-- IF {block.line.field.TYPE} == 'password' -->{block.line.field.VALUE}<!-- ENDIF -->
	<!-- IF {block.line.field.TYPE} == 'tree_list' --><!-- BEGIN block.line.field.option --><!-- IF {block.line.field.option.TRANSLATED} || {block.line.field.VALUE_TRANSLATED} -->%lang({block.line.field.option.LEGEND})<!-- ELSE -->{block.line.field.option.LEGEND}<!-- ENDIF --><!-- IF {block.line.field.option__IDX} < {block.line.field.option__COUNT} - 1 -->&nbsp;&raquo;&nbsp;<!-- ENDIF --><!-- END block.line.field.option --><!-- ENDIF -->
	<!-- IF {block.line.field.TYPE} == 'checkbox' -->{block.line.field.VALUE}<!-- ENDIF -->
<!-- ELSE -->
	<!-- IF {block.line.field.TYPE} == 'varchar' --><input type="text" name="{block.line.field.NAME}" id="{block.line.field.NAME}" value="{block.line.field.VALUE}"<!-- IF {block.line.field.SIZE} --> size="{block.line.field.SIZE}"<!-- ENDIF --> /><!-- ENDIF -->
	<!-- IF {block.line.field.TYPE} == 'text' --><textarea name="{block.line.field.NAME}" id="{block.line.field.NAME}" rows="<!-- IF {block.line.field.ROWS} -->{block.line.field.ROWS}<!-- ELSE -->5<!-- ENDIF -->" cols="<!-- IF {block.line.field.COLS} -->{block.line.field.COLS}<!-- ELSE -->80<!-- ENDIF -->" style="width: 55%">{block.line.field.VALUE}</textarea><!-- ENDIF -->
	<!-- IF {block.line.field.TYPE} == 'int' --><input type="text" style="text-align: right;" name="{block.line.field.NAME}" id="{block.line.field.NAME}" value="{block.line.field.VALUE}"<!-- IF {block.line.field.SIZE} --> size="{block.line.field.SIZE}"<!-- ENDIF --> /><!-- ENDIF -->
	<!-- IF {block.line.field.TYPE} == 'list' --><select name="{block.line.field.NAME}<!-- IF {block.line.field.MULTI} -->[]<!-- ENDIF -->" id="{block.line.field.NAME}"<!-- IF {block.line.field.ONCHANGE} --> onchange="{block.line.field.ONCHANGE};"<!-- ENDIF --><!-- IF {block.line.field.MULTI} --> multiple="multiple"<!-- ENDIF --><!-- IF {block.line.field.SIZE} --> size="{block.line.field.SIZE}"<!-- ENDIF -->><!-- BEGIN block.line.field.option --><option value="{block.line.field.option.VALUE}"<!-- IF {block.line.field.option.SELECTED} --> selected="selected"<!-- ENDIF --><!-- IF {block.line.field.option.DISABLED} --> disabled="disabled"<!-- ENDIF -->><!-- IF {block.line.field.option.INC} --><!-- PHP echo str_repeat(SYS_LIST_TAB, {block.line.field.option.INC}); --><!-- ENDIF --><!-- IF {block.line.field.option.TRANSLATED} || {block.line.field.VALUE_TRANSLATED} -->%lang({block.line.field.option.LEGEND})<!-- ELSE -->{block.line.field.option.LEGEND}<!-- ENDIF --></option><!-- END block.line.field.option --></select><!-- ENDIF -->
	<!-- IF {block.line.field.TYPE} == 'radio_list' --><!-- IF isset({block.line.group}) --><a id="{block.line.field.NAME}"></a><!-- ENDIF --><!-- BEGIN block.line.field.option --><input type="radio" name="{block.line.field.NAME}" value="{block.line.field.option.VALUE}" id="{block.line.field.NAME}_{block.line.field.option.VALUE}"<!-- IF {block.line.field.option.VALUE} == {block.line.field.VALUE} --> checked="checked"<!-- ENDIF --> /><label for="{block.line.field.NAME}_{block.line.field.option.VALUE}"<!-- IF !isset({block.line.group}) --> class="small"<!-- ENDIF -->>&nbsp;<!-- IF {block.line.field.option.TRANSLATED} || {block.line.field.VALUE_TRANSLATED} -->%lang({block.line.field.option.LEGEND})<!-- ELSE -->{block.line.field.option.LEGEND}<!-- ENDIF --></label><!-- IF {block.line.field.option.LINEFEED} --><br /><!-- ELSE -->&nbsp;&nbsp;<!-- ENDIF --><!-- END block.line.field.option --><!-- ENDIF -->
	<!-- IF {block.line.field.TYPE} == 'button' --><input type="<!-- IF isset({block.line.ACTION}) && ({block.line.ACTION} == 'reset') -->reset<!-- ELSE -->submit<!-- ENDIF -->" id="{block.line.field.NAME}" name="{block.line.field.NAME}" value="<!-- IF !{block.line.field.VALUE} && !{block.line.field.VALUE_TRANSLATED} -->&nbsp;<!-- ELSE --><!-- IF {block.line.field.VALUE_TRANSLATED} -->%lang({block.line.field.VALUE_TRANSLATED})<!-- ELSE -->{block.line.field.VALUE}<!-- ENDIF --><!-- ENDIF -->"<!-- IF {block.line.field.ONCLICK} --> onclick="{block.line.field.ONCLICK}"<!-- ENDIF -->><!-- ENDIF -->
	<!-- IF {block.line.field.TYPE} == 'password' --><input type="password" name="{block.line.field.NAME}" id="{block.line.field.NAME}" <!-- IF {block.line.field.SIZE} --> size="{block.line.field.SIZE}"<!-- ENDIF --> /><!-- ENDIF -->
	<!-- IF {block.line.field.TYPE} == 'checkbox' --><!-- BEGIN block.line.field.option --><input type="checkbox" name="{block.line.field.NAME}[{block.line.field.option.VALUE}]" value="{block.line.field.option.VALUE}" id="{block.line.field.NAME}_{block.line.field.option.VALUE}"<!-- IF {block.line.field.option.SELECTED} --> checked="checked"<!-- ENDIF --> /><label for="{block.line.field.NAME}_{block.line.field.option.VALUE}" class="small">&nbsp;<!-- IF {block.line.field.option.TRANSLATED} || {block.line.field.VALUE_TRANSLATED} -->%lang({block.line.field.option.LEGEND})<!-- ELSE -->{block.line.field.option.LEGEND}<!-- ENDIF --></label><!-- IF {block.line.field.option.LINEFEED} --><br /><!-- ELSE -->&nbsp;&nbsp;<!-- ENDIF --><!-- END block.line.field.option --><!-- ENDIF -->
<!-- ENDIF -->
<!-- BEGIN fields_def --><!-- INCLUDE {fields_def.TPL} --><!-- END fields_def -->

			<!-- IF isset({block.line.group}) -->
				<!-- IF {block.line.field.EXPLAIN} --><br /><span class="small">%lang({block.line.field.EXPLAIN})&nbsp;</span><!-- ENDIF -->
				<!-- IF {block.line.field.FLOATING} --></div><!-- ENDIF -->
			<!-- ELSE -->
			</dd></dl>
			<!-- ENDIF -->
		<!-- END block.line.field -->

		<!-- IF isset({block.line.group}) -->
		</dd></dl>
		<!-- ENDIF -->
	<!-- END block.line -->

	<!-- IF !{block.DISABLED} -->
		<!-- IF {block.TYPE} == 'fieldset' --></fieldset>
		<!-- ELSE --></div>
		<!-- ENDIF -->
	<!-- ENDIF -->
<!-- END block -->